import pygame as py
import sys
py.init()
screen=py.display.set_mode((500,500))
py.display.set_caption("Hello World!!!")
running=True
while running:
    for event in py.event.get():
        if event.type==py.QUIT:
            py.quit()
            sys.exit()